{__NOLAYOUT__}

<Widget:show col="12" bdcls='form' title="新增项目" >
<Ui:form ajax="true" action="{:U('Index/insertItem')}">
<div class="row">
    <Ui:field col="4" name="name" label="项目名称" ></Ui:field>
    <Ui:field col="2" name="ename" label="英文名名称" ></Ui:field>
    <Ui:field col="6" name="intro" label="摘要" ></Ui:field>
</div>
<div class="row">
    <Ui:field col="2" name="DB_TYPE" value="mysql" tip="目前只支持mysql" label="数据库类型" ></Ui:field>
    <Ui:field col="3" name="DB_HOST" label="主机地址" ></Ui:field>
    <Ui:field col="2" name="DB_NAME" label="数据库名称" ></Ui:field>
    <Ui:field col="2" name="DB_USER" label="登录名称" ></Ui:field>
    <Ui:field col="3" name="DB_PWD" label="登录密码" ></Ui:field>
    <Ui:field col="2" name="DB_PORT" value="3306" label="端口" ></Ui:field>
    <Ui:field col="2" name="DB_PREFIX" label="表前缀" ></Ui:field>
    <Ui:field col="12" name="ITEM_PATH" label="本地目录" ></Ui:field>
    <Ui:field col="12" name="ITEM_CONNTROLLER_PATH" label="控制器目录" ></Ui:field>
    <Ui:field col="12" name="ITEM_MODEL_PATH" label="模型目录" ></Ui:field>
</div>
</Ui:form>
</Widget:show>
